/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package comm;

/**
 *
 * @author Gjun
 */
public class comm {
    private String name;
    private String price;
    private String say;
    private int addnum=0;
    private int id=0;
    public comm(String name,String pice,String say)
    {
        this.name=name;
        this.price=pice;
        this.say=say;
        
    }
    public String getName()
    {
        return name;
    }
    public String getPrice()
    {
        return price;
    }
    public String getSay()
    {
        return say;
    }

    /**
     * @return the addnum
     */
    public int getAddnum() {
        return addnum;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }
    public void setAddnum(int addnum)
    {
        this.addnum=addnum;
    }
    public void setId(int id)
    {
        this.id=id;
    }
    
}
